package deprecated.hibernate;

import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.cfg.Configuration;

public class HibernateUtil {
//	private static SessionFactory sessionFactory = new Configuration()
//			.configure().buildSessionFactory();
//
//	/**
//	 * Ensure that the same instance of SessionFactory is used in all the program
//	 * @return a new Session
//	 */
//	public static Session GetNewSession() {
//		return sessionFactory.openSession();
//	}
}
